{% if not exclude_username %}
<div class="form-group">
	<div class="col-3">
		<label class="form-label" for="age">用户名</label>
	</div>
	<div class="col-9">
		<div class="input-group">
			<input class="form-input" type="text" name="username" value="{{ profileuser.username }}">
		</div>
	</div>
</div>
{% endif %}

<div class="form-group">
	<div class="col-3">
		<label class="form-label" for="name">姓名</label>
	</div>
	<div class="col-9">
		<div class="input-group">
			<span class="input-group-addon">姓</span>
			<input class="form-input" type="text" name="last_name" value="{{ profileuser.last_name }}">
			<span class="input-group-addon">名</span>
			<input class="form-input" type="text" name="first_name" value="{{ profileuser.first_name }}">
		</div>
	</div>
</div>

{% if not exclude_icon %}
<div class="form-group">
	<div class="col-3">
		<label class="form-label" for="icon">头像</label>
	</div>
	<div class="col-9">
		<div class="input-group">
			<figure class="figure">
				<img src="{{ profileuser.userprofile.icon.url }}" class="img-responsive">
				<figcaption class="figure-caption">
					<input class="form-input" type="file" name="icon">
				</figcaption>
			</figure>
		</div>
	</div>
</div>
{% endif %}

<div class="form-group">
	<div class="col-3">
		<label class="form-label" for="age">年龄</label>
	</div>
	<div class="col-9">
		<div class="input-group">
			<input class="form-input" type="text" name="age" value="{{ profileuser.userprofile.age }}">
		</div>
	</div>
</div>
<div class="form-group">
	<div class="col-3">
		<label class="form-label" for="phone">联系方式</label>
	</div>
	<div class="col-9">
		<div class="input-group">
			<input class="form-input" type="text" name="phone" value="{{ profileuser.userprofile.phone }}">
		</div>
	</div>
</div>

<div class="form-group">
	<div class="col-3">
		<label class="form-label" for="desc">简介</label>
	</div>
	<div class="col-9">
		<div class="input-group">
			<textarea class="form-input" type="text" name="desc">{{ profileuser.userprofile.desc }}</textarea>
		</div>
	</div>
</div>